<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<META http-equiv="Content-Type" content="text/html; charset=UTF-8">
<link rel="stylesheet" href="../../../style.css" type="text/css" media="screen">
<link rel="stylesheet" href="../../../print.css" type="text/css" media="print">
<meta content="IMenuDataDescriptor,mx.controls.menuClasses.IMenuDataDescriptor,addChildAt,getChildren,getData,getGroupName,getType,hasChildren,isBranch,isEnabled,isToggled,removeChildAt,setEnabled,setToggled" name="keywords">
<title>mx.controls.menuClasses.IMenuDataDescriptor</title>
</head>
<body>
<script type="text/javascript" language="javascript" src="../../../asdoc.js"></script><script type="text/javascript" language="javascript" src="../../../cookies.js"></script><script type="text/javascript" language="javascript">
<!--
				asdocTitle = 'IMenuDataDescriptor - Zentrum virtUOS: virtPresenter';
				var baseRef = '../../../';
				window.onload = configPage;
			--></script>
<table style="display:none" id="titleTable" cellspacing="0" cellpadding="0" class="titleTable">
<tr>
<td align="left" class="titleTableTitle">virtPresenter AsDoc</td><td align="right" class="titleTableTopNav"><a onclick="loadClassListFrame('../../../all-classes.html')" href="../../../package-summary.html">All&nbsp;Packages</a>&nbsp;|&nbsp;<a onclick="loadClassListFrame('../../../all-classes.html')" href="../../../class-summary.html">All&nbsp;Classes</a>&nbsp;|&nbsp;<a onclick="loadClassListFrame('../../../index-list.html')" href="../../../all-index-A.html">Index</a>&nbsp;|&nbsp;<a href="../../../index.html?mx/controls/menuClasses/IMenuDataDescriptor.html&amp;mx/controls/menuClasses/class-list.html" id="framesLink1">Frames</a><a onclick="parent.location=document.location" href="" style="display:none" id="noFramesLink1">No&nbsp;Frames</a></td><td rowspan="3" align="right" class="titleTableLogo"><img alt="Adobe Logo" title="Adobe Logo" class="logoImage" src="../../../images/logo.jpg"></td>
</tr>
<tr class="titleTableRow2">
<td align="left" id="subTitle" class="titleTableSubTitle">Interface&nbsp;IMenuDataDescriptor</td><td align="right" id="subNav" class="titleTableSubNav"><a href="#methodSummary">Methods</a></td>
</tr>
<tr class="titleTableRow3">
<td colspan="2">&nbsp;</td>
</tr>
</table>
<script type="text/javascript" language="javascript">
<!--
if (!isEclipse() || window.name != ECLIPSE_FRAME_NAME) {titleBar_setSubTitle("Interface IMenuDataDescriptor"); titleBar_setSubNav(false,false,false,false,false,false,true,false,false,false,false,false,false,false);}
--></script>
<div class="MainContent">
<table cellspacing="0" cellpadding="0" class="classHeaderTable">
<tr>
<td class="classHeaderTableLabel">Package</td><td><a onclick="javascript:loadClassListFrame('class-list.html')" href="package-detail.html">mx.controls.menuClasses</a></td>
</tr>
<tr>
<td class="classHeaderTableLabel">Interface</td><td class="classSignature">public interface IMenuDataDescriptor</td>
</tr>
<tr>
<td class="classHeaderTableLabel">Implementors</td><td><a href="../treeClasses/DefaultDataDescriptor.html">DefaultDataDescriptor</a></td>
</tr>
</table>
<p></p>
  The IMenuDataDescriptor interface defines the interface that a 
  dataDescriptor for a Menu or MenuBar control must implement. 
  The interface provides methods for parsing and modifyng a collection
  of data that is displayed by a Menu or MenuBar control.
   <p></p>
<p>
<span class="classHeaderTableLabel">See also</span>
</p>
<div class="seeAlso">
<a href="../../collections/ICollectionView.html" target="">mx.collections.ICollectionView</a>
</div>
<br>
<hr>
</div>
<a name="methodSummary"></a>
<div class="summarySection">
<div class="summaryTableTitle">Public Methods</div>
<table id="summaryTableMethod" class="summaryTable " cellpadding="3" cellspacing="0">
<tr>
<th>&nbsp;</th><th colspan="2">Method</th><th class="summaryTableOwnerCol">Defined&nbsp;by</th>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol">
<div class="summarySignature">
<a class="signatureLink" href="#addChildAt()">addChildAt</a>(parent:<a href="">Object</a>, newChild:<a href="">Object</a>, index:<a href="">int</a>, model:<a href="">Object</a> = null):Boolean</div>
<div class="summaryTableDescription">
      Add a child node to a node at the specified index.</div>
</td><td class="summaryTableOwnerCol">IMenuDataDescriptor</td>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol">
<div class="summarySignature">
<a class="signatureLink" href="#getChildren()">getChildren</a>(node:<a href="">Object</a>, model:<a href="">Object</a> = null):<a href="../../collections/ICollectionView.html">ICollectionView</a>
</div>
<div class="summaryTableDescription">
      Provides access to a node's children.</div>
</td><td class="summaryTableOwnerCol">IMenuDataDescriptor</td>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol">
<div class="summarySignature">
<a class="signatureLink" href="#getData()">getData</a>(node:<a href="">Object</a>, model:<a href="">Object</a> = null):Object</div>
<div class="summaryTableDescription">
      Returns a node's data.</div>
</td><td class="summaryTableOwnerCol">IMenuDataDescriptor</td>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol">
<div class="summarySignature">
<a class="signatureLink" href="#getGroupName()">getGroupName</a>(node:<a href="">Object</a>):String</div>
<div class="summaryTableDescription">
      Returns the name of the radio button group to which
      the node belongs, if any.</div>
</td><td class="summaryTableOwnerCol">IMenuDataDescriptor</td>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol">
<div class="summarySignature">
<a class="signatureLink" href="#getType()">getType</a>(node:<a href="">Object</a>):String</div>
<div class="summaryTableDescription">
      Returns the type identifier of a node.</div>
</td><td class="summaryTableOwnerCol">IMenuDataDescriptor</td>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol">
<div class="summarySignature">
<a class="signatureLink" href="#hasChildren()">hasChildren</a>(node:<a href="">Object</a>, model:<a href="">Object</a> = null):Boolean</div>
<div class="summaryTableDescription">
      Returns true if the node actually has children.</div>
</td><td class="summaryTableOwnerCol">IMenuDataDescriptor</td>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol">
<div class="summarySignature">
<a class="signatureLink" href="#isBranch()">isBranch</a>(node:<a href="">Object</a>, model:<a href="">Object</a> = null):Boolean</div>
<div class="summaryTableDescription">
      Tests a node for termination.</div>
</td><td class="summaryTableOwnerCol">IMenuDataDescriptor</td>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol">
<div class="summarySignature">
<a class="signatureLink" href="#isEnabled()">isEnabled</a>(node:<a href="">Object</a>):Boolean</div>
<div class="summaryTableDescription">
      Returns whether the node is enabled.</div>
</td><td class="summaryTableOwnerCol">IMenuDataDescriptor</td>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol">
<div class="summarySignature">
<a class="signatureLink" href="#isToggled()">isToggled</a>(node:<a href="">Object</a>):Boolean</div>
<div class="summaryTableDescription">
      Returns whether the node is toggled.</div>
</td><td class="summaryTableOwnerCol">IMenuDataDescriptor</td>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol">
<div class="summarySignature">
<a class="signatureLink" href="#removeChildAt()">removeChildAt</a>(parent:<a href="">Object</a>, child:<a href="">Object</a>, index:<a href="">int</a>, model:<a href="">Object</a> = null):Boolean</div>
<div class="summaryTableDescription">
      Removes the child node from a node at the specified index.</div>
</td><td class="summaryTableOwnerCol">IMenuDataDescriptor</td>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol">
<div class="summarySignature">
<a class="signatureLink" href="#setEnabled()">setEnabled</a>(node:<a href="">Object</a>, value:<a href="">Boolean</a>):void</div>
<div class="summaryTableDescription">
      Sets the value of the field or attribute in the data provider
      that identifies whether the node is enabled.</div>
</td><td class="summaryTableOwnerCol">IMenuDataDescriptor</td>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol">
<div class="summarySignature">
<a class="signatureLink" href="#setToggled()">setToggled</a>(node:<a href="">Object</a>, value:<a href="">Boolean</a>):void</div>
<div class="summaryTableDescription">
      Sets the value of the field or attribute in the data provider
      that identifies whether the node is toggled.</div>
</td><td class="summaryTableOwnerCol">IMenuDataDescriptor</td>
</tr>
</table>
</div>
<script type="text/javascript" language="javascript">
<!--
showHideInherited();
--></script>
<div class="MainContent">
<a name="methodDetail"></a>
<div class="detailSectionHeader">Method detail</div>
<a name="addChildAt()"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">addChildAt</td><td class="detailHeaderParens">()</td><td class="detailHeaderType">method</td>
</tr>
</table>
<div class="detailBody">
<code>public function addChildAt(parent:<a href="">Object</a>, newChild:<a href="">Object</a>, index:<a href="">int</a>, model:<a href="">Object</a> = null):Boolean</code><p>
      Add a child node to a node at the specified index. 
      This implementation does the following:
     
      <ul>
          <li>If the <code>parent</code> parameter is null or undefined,
              inserts the <code>child</code> parameter at the 
              specified index in the collection specified by <code>model</code>
              parameter.
          </li>
          <li>If the <code>parent</code> parameter has a <code>children</code>
              field or property, the method adds the <code>child</code> parameter
              to it at the <code>index</code> parameter location.
              In this case, the <code>model</code> parameter is not required.
         </li>
         <li>If the <code>parent</code> parameter does not have a <code>children</code>
              field or property, the method adds the <code>children</code> 
              property to the <code>parent</code>. The method then adds the 
              <code>child</code> parameter to the parent at the 
              <code>index</code> parameter location. 
              In this case, the <code>model</code> parameter is not required.
         </li>
         <li>If the <code>index</code> value is greater than the collection 
             length or number of children in the parent, adds the object as
             the last child.
         </li>
     </ul>
           </p><span class="label">Parameters</span>
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="20px"></td><td><code><span class="label">parent</span>:<a href="">Object</a></code> &mdash; The node object that will parent the child
      </td>
</tr>
<tr>
<td class="paramSpacer">&nbsp;</td>
</tr>
<tr>
<td width="20px"></td><td><code><span class="label">newChild</span>:<a href="">Object</a></code> &mdash; The node object that will be parented by the node
      </td>
</tr>
<tr>
<td class="paramSpacer">&nbsp;</td>
</tr>
<tr>
<td width="20px"></td><td><code><span class="label">index</span>:<a href="">int</a></code> &mdash; The 0-based index of where to put the child node relative to the parent
      </td>
</tr>
<tr>
<td class="paramSpacer">&nbsp;</td>
</tr>
<tr>
<td width="20px"></td><td><code><span class="label">model</span>:<a href="">Object</a></code> (default = <code>null</code>)<code></code> &mdash; The entire collection that this node is a part of
      </td>
</tr>
</table>
<p></p>
<span class="label">Returns</span>
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="20"></td><td><code>Boolean</code> &mdash; true if successful
     </td>
</tr>
</table>
</div>
<a name="getChildren()"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">getChildren</td><td class="detailHeaderParens">()</td><td class="detailHeaderType">method</td><td class="detailHeaderRule">&nbsp;</td>
</tr>
</table>
<div class="detailBody">
<code>public function getChildren(node:<a href="">Object</a>, model:<a href="">Object</a> = null):<a href="../../collections/ICollectionView.html">ICollectionView</a></code><p>
      Provides access to a node's children. Returns a collection
      of children if they exist. If the node is an Object, the method
      returns the contents of the object's <code>children</code> field as
      an ArrayCollection.
      If the node is XML, the method returns an XMLListCollection containing
      the child elements.
           </p><span class="label">Parameters</span>
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="20px"></td><td><code><span class="label">node</span>:<a href="">Object</a></code> &mdash; The node object currently being evaluated.
      </td>
</tr>
<tr>
<td class="paramSpacer">&nbsp;</td>
</tr>
<tr>
<td width="20px"></td><td><code><span class="label">model</span>:<a href="">Object</a></code> (default = <code>null</code>)<code></code> &mdash; The collection that contains the node; ignored by this class.
      </td>
</tr>
</table>
<p></p>
<span class="label">Returns</span>
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="20"></td><td><code><a href="../../collections/ICollectionView.html">ICollectionView</a></code> &mdash; 
                        An object containing the children nodes.
     
                        
                     </td>
</tr>
</table>
</div>
<a name="getData()"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">getData</td><td class="detailHeaderParens">()</td><td class="detailHeaderType">method</td><td class="detailHeaderRule">&nbsp;</td>
</tr>
</table>
<div class="detailBody">
<code>public function getData(node:<a href="">Object</a>, model:<a href="">Object</a> = null):Object</code><p>
      Returns a node's data.
      Currently returns the entire node.
           </p><span class="label">Parameters</span>
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="20px"></td><td><code><span class="label">node</span>:<a href="">Object</a></code> &mdash; The node object currently being evaluated.
      </td>
</tr>
<tr>
<td class="paramSpacer">&nbsp;</td>
</tr>
<tr>
<td width="20px"></td><td><code><span class="label">model</span>:<a href="">Object</a></code> (default = <code>null</code>)<code></code> &mdash; The collection that contains the node; ignored by this class.
      </td>
</tr>
</table>
<p></p>
<span class="label">Returns</span>
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="20"></td><td><code>Object</code> &mdash; The node.
     </td>
</tr>
</table>
</div>
<a name="getGroupName()"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">getGroupName</td><td class="detailHeaderParens">()</td><td class="detailHeaderType">method</td><td class="detailHeaderRule">&nbsp;</td>
</tr>
</table>
<div class="detailBody">
<code>public function getGroupName(node:<a href="">Object</a>):String</code><p>
      Returns the name of the radio button group to which
      the node belongs, if any.
      This method is used by menu-based controls.
           </p><span class="label">Parameters</span>
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="20px"></td><td><code><span class="label">node</span>:<a href="">Object</a></code> &mdash; The node for which to get the group name.
      </td>
</tr>
</table>
<p></p>
<span class="label">Returns</span>
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="20"></td><td><code>String</code> &mdash; The value of the node's <code>groupName</code>
      attribute or field, or an empty string if there is no such
      entry.
     </td>
</tr>
</table>
</div>
<a name="getType()"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">getType</td><td class="detailHeaderParens">()</td><td class="detailHeaderType">method</td><td class="detailHeaderRule">&nbsp;</td>
</tr>
</table>
<div class="detailBody">
<code>public function getType(node:<a href="">Object</a>):String</code><p>
      Returns the type identifier of a node.
      This method is used by menu-based controls to determine if the
      node represents a separator, radio button,
      a check box, or normal item.
           </p><span class="label">Parameters</span>
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="20px"></td><td><code><span class="label">node</span>:<a href="">Object</a></code> &mdash; The node object for which to get the type.
      </td>
</tr>
</table>
<p></p>
<span class="label">Returns</span>
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="20"></td><td><code>String</code> &mdash;  the value of the <code>type</code> attribute or field,
      or the empty string if there is no such field.
     </td>
</tr>
</table>
</div>
<a name="hasChildren()"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">hasChildren</td><td class="detailHeaderParens">()</td><td class="detailHeaderType">method</td><td class="detailHeaderRule">&nbsp;</td>
</tr>
</table>
<div class="detailBody">
<code>public function hasChildren(node:<a href="">Object</a>, model:<a href="">Object</a> = null):Boolean</code><p>
      Returns true if the node actually has children. 
     
      </p><span class="label">Parameters</span>
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="20px"></td><td><code><span class="label">node</span>:<a href="">Object</a></code> &mdash; The node object currently being evaluated.
      </td>
</tr>
<tr>
<td class="paramSpacer">&nbsp;</td>
</tr>
<tr>
<td width="20px"></td><td><code><span class="label">model</span>:<a href="">Object</a></code> (default = <code>null</code>)<code></code> &mdash; The collection that contains the node; ignored by this class.
      </td>
</tr>
</table>
<p></p>
<span class="label">Returns</span>
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="20"></td><td><code>Boolean</code> &mdash; boolean indicating if this node currently has children
     </td>
</tr>
</table>
</div>
<a name="isBranch()"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">isBranch</td><td class="detailHeaderParens">()</td><td class="detailHeaderType">method</td><td class="detailHeaderRule">&nbsp;</td>
</tr>
</table>
<div class="detailBody">
<code>public function isBranch(node:<a href="">Object</a>, model:<a href="">Object</a> = null):Boolean</code><p>
      Tests a node for termination.
      Branches are non-terminating but are not required to have any leaf nodes.
      If the node is XML, returns <code>true</code> if the node has children
      or a <code>true isBranch</code> attribute.
      If the node is an object, returns <code>true</code> if the node has a
      (possibly empty) <code>children</code> field.
           </p><span class="label">Parameters</span>
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="20px"></td><td><code><span class="label">node</span>:<a href="">Object</a></code> &mdash; The node object currently being evaluated.
      </td>
</tr>
<tr>
<td class="paramSpacer">&nbsp;</td>
</tr>
<tr>
<td width="20px"></td><td><code><span class="label">model</span>:<a href="">Object</a></code> (default = <code>null</code>)<code></code> &mdash; The collection that contains the node; ignored by this class.
      </td>
</tr>
</table>
<p></p>
<span class="label">Returns</span>
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="20"></td><td><code>Boolean</code> &mdash; boolean indicating if this node is non-terminating
     </td>
</tr>
</table>
</div>
<a name="isEnabled()"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">isEnabled</td><td class="detailHeaderParens">()</td><td class="detailHeaderType">method</td><td class="detailHeaderRule">&nbsp;</td>
</tr>
</table>
<div class="detailBody">
<code>public function isEnabled(node:<a href="">Object</a>):Boolean</code><p>
      Returns whether the node is enabled.
      This method is used by menu-based controls.
           </p><span class="label">Parameters</span>
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="20px"></td><td><code><span class="label">node</span>:<a href="">Object</a></code> &mdash; The node for which to get the status.
      </td>
</tr>
</table>
<p></p>
<span class="label">Returns</span>
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="20"></td><td><code>Boolean</code> &mdash; the value of the node's <code>enabled</code>
      attribute or field, or <code>true</code> if there is no such
      entry or the value is not false.
     </td>
</tr>
</table>
</div>
<a name="isToggled()"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">isToggled</td><td class="detailHeaderParens">()</td><td class="detailHeaderType">method</td><td class="detailHeaderRule">&nbsp;</td>
</tr>
</table>
<div class="detailBody">
<code>public function isToggled(node:<a href="">Object</a>):Boolean</code><p>
      Returns whether the node is toggled.
      This method is used by menu-based controls.
           </p><span class="label">Parameters</span>
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="20px"></td><td><code><span class="label">node</span>:<a href="">Object</a></code> &mdash; The node for which to get the status.
      </td>
</tr>
</table>
<p></p>
<span class="label">Returns</span>
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="20"></td><td><code>Boolean</code> &mdash; The value of the node's <code>toggled</code>
      attribute or field, or <code>false</code> if there is no such
      entry.
     </td>
</tr>
</table>
</div>
<a name="removeChildAt()"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">removeChildAt</td><td class="detailHeaderParens">()</td><td class="detailHeaderType">method</td><td class="detailHeaderRule">&nbsp;</td>
</tr>
</table>
<div class="detailBody">
<code>public function removeChildAt(parent:<a href="">Object</a>, child:<a href="">Object</a>, index:<a href="">int</a>, model:<a href="">Object</a> = null):Boolean</code><p>
      Removes the child node from a node at the specified index.
      If the <code>parent</code> parameter is null 
      or undefined, the method uses the <code>model</code> parameter to 
      access the child; otherwise, it uses the <code>parent</code> parameter
      and ignores the <code>model</code> parameter.
          </p><span class="label">Parameters</span>
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="20px"></td><td><code><span class="label">parent</span>:<a href="">Object</a></code> &mdash; The node object that currently parents the child node
      </td>
</tr>
<tr>
<td class="paramSpacer">&nbsp;</td>
</tr>
<tr>
<td width="20px"></td><td><code><span class="label">child</span>:<a href="">Object</a></code> &mdash; The node that is being removed
      </td>
</tr>
<tr>
<td class="paramSpacer">&nbsp;</td>
</tr>
<tr>
<td width="20px"></td><td><code><span class="label">index</span>:<a href="">int</a></code> &mdash; The 0-based index of  the child node to remove relative to the parent
      </td>
</tr>
<tr>
<td class="paramSpacer">&nbsp;</td>
</tr>
<tr>
<td width="20px"></td><td><code><span class="label">model</span>:<a href="">Object</a></code> (default = <code>null</code>)<code></code> &mdash; The entire collection that this node is a part of
      </td>
</tr>
</table>
<p></p>
<span class="label">Returns</span>
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="20"></td><td><code>Boolean</code> &mdash; true if successful
     </td>
</tr>
</table>
</div>
<a name="setEnabled()"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">setEnabled</td><td class="detailHeaderParens">()</td><td class="detailHeaderType">method</td><td class="detailHeaderRule">&nbsp;</td>
</tr>
</table>
<div class="detailBody">
<code>public function setEnabled(node:<a href="">Object</a>, value:<a href="">Boolean</a>):void</code><p>
      Sets the value of the field or attribute in the data provider
      that identifies whether the node is enabled.
      This method sets the value of the node's <code>enabled</code>
      attribute or field.
      This method is used by menu-based controls.
           </p><span class="label">Parameters</span>
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="20px"></td><td><code><span class="label">node</span>:<a href="">Object</a></code> &mdash; The node for which to set the status.
      </td>
</tr>
<tr>
<td class="paramSpacer">&nbsp;</td>
</tr>
<tr>
<td width="20px"></td><td><code><span class="label">value</span>:<a href="">Boolean</a></code> &mdash; Whether the node is enabled.
     </td>
</tr>
</table>
</div>
<a name="setToggled()"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">setToggled</td><td class="detailHeaderParens">()</td><td class="detailHeaderType">method</td><td class="detailHeaderRule">&nbsp;</td>
</tr>
</table>
<div class="detailBody">
<code>public function setToggled(node:<a href="">Object</a>, value:<a href="">Boolean</a>):void</code><p>
      Sets the value of the field or attribute in the data provider
      that identifies whether the node is toggled.
      This method sets the value of the node's <code>toggled</code>
      attribute or field.
      This method is used by menu-based controls.
           </p><span class="label">Parameters</span>
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="20px"></td><td><code><span class="label">node</span>:<a href="">Object</a></code> &mdash; The node for which to set the status.
      </td>
</tr>
<tr>
<td class="paramSpacer">&nbsp;</td>
</tr>
<tr>
<td width="20px"></td><td><code><span class="label">value</span>:<a href="">Boolean</a></code> &mdash; Whether the node is toggled.
     </td>
</tr>
</table>
</div>
<br>
<br>
<hr>
<br>
<p></p>
<center class="copyright"> 
</center>
</div>
</body>
</html>
<!-- -->
